/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package models;
import db.SupplierDb;
/**
 *
 * @author grizwitz
 */
public class Supplier {
    private String email;
    private String name = "";
    private String address = "";
    private String country = "";
    private int id;
    private long phoneno;


    public Supplier(String email, String name, String address,
            String country, long phoneno) {
        this.email = email;
        this.name = name;
        this.address = address;
        this.country = country;
        this.phoneno = phoneno;
    }

     public Supplier(int id, String email, String name, String address,
            String country, long phoneno) {
        this.id = id;
        this.email = email;
        this.name = name;
        this.address = address;
        this.country = country;
        this.phoneno = phoneno;
    }

    public Supplier() {

    }
     /**
     * @return Id
     */
    public int getId() {
       return id;
    }

    /**
     * @return the customerno
     */
    public String getemail() {
        return email;
    }

    /**
     * @return the name
     */
    public String getName() {
        return name;
    }

    /**
     * @return the name
     */
    public String getAddress() {
        return address;
    }

    /**
     * @return the phoneno
     */
    public long getPhoneno()
    {
        return phoneno;
    }

     /**
     * @return the Zipcode
     */
    public String getCountry()
    {
        return country;
    }


    /**
     * @set the address
     */
    public void setAddress(String address)
    {
        this.address = address;
    }

    /**
     * @set the Customerno
     */
    public void setemail(String email)
    {
        this.email = email;
    }

    /**
     * @set the Name
     */
    public void setName(String name)
    {
        this.name = name;
    }

    /**
     * @set the Phoneno
     */
    public void setPhoneno(long phoneno)
    {
        this.phoneno = phoneno;
    }

    /**
     * @set the zipcode
     */
    public void setCountry(String country)
    {
        this.country = country;
    }


    }
